home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / misc / amag / am9305d.lha / EGS.lha / EGS / EGS_Devels / doc / gbmenuselect.doc < prev    next >
Text File  |  1993-03-18  |  1KB  |  69 lines

  1. /*
  2. *  $
  3. *  $ FILE     : gbmenuselect.doc
  4. *  $ VERSION  : 1
  5. *  $ REVISION : 1
  6. *  $ DATE     : 08-Feb-93 09:57
  7. *  $
  8. *  $ Author   : mvk
  9. *  $
  10. *
  11. *
  12. * (c) Copyright 1990/93 VIONA Development
  13. *     All Rights Reserved
  14. *
  15. */
  16.  
  17. gbmenuselect.library/EGB_CreateMenuGadget
  18. gbmenuselect.library/EGB_ModifyMenuGadget
  19.  
  20. NAME
  21.   EGB_CreateMenuGadget   Create a gadbox menu gadget
  22.  
  23. SYNOPSIS
  24.   box = EGB_CreateMenuGadget(con, id, elems)
  25.   D0                         A0   D0  A1
  26.  
  27.   EB_GadBoxPtr    box;
  28.   EB_GadContext   con;
  29.   LONG            id;
  30.   EB_StrArrayPtr  elems;
  31.  
  32. FUNCTION
  33.   Creates a gadbox menu gadget. These gadgets offer several possible selections.
  34.   In normal state the actual selection is displayed. If the user hits the gadget
  35.   all possible items pop up like a menu. The user can now select the appropriate
  36.   item. The selection is canceled using the right mouse button.
  37.  
  38. INPUTS
  39.   elems  : An array of strings each representing one choice
  40.  
  41. RETURNS
  42.  
  43.  
  44.  
  45. gbmenuselect.library/ModifyMenuGadget
  46. NAME
  47.   EGB_ModifyMenuGadget
  48.  
  49. SYNOPSIS
  50.   EGB_ModifyMenuGadget(win, gad, num);
  51.                A0   A1   D0
  52.  
  53.   EI_WindowPtr     win;
  54.   EI_GadgetPtr     gad;
  55.   WORD             num;
  56.  
  57. FUNCTION
  58.   Sets the actual selection of a menu select gadget to the item with the
  59.   number num.
  60.  
  61. INPUTS
  62.   win      : Pointer to the gadgets window; if NULL than no refreshing is done
  63.   gad      : A menu select gadget
  64.   num      : The number of the entry to become the new actual selection
  65.  
  66. RETURNS
  67.  
  68.  
  69.